package com.lungle.warmdiary.app.model.response;

import com.google.gson.annotations.SerializedName;
import com.lungle.warmdiary.app.model.Entity;

import java.io.Serializable;
import java.util.List;

public class Active extends Entity {

    private static final long serialVersionUID = 1L;
    /**
     * 固定效果
     */
    public static int PAYMENT_EFFECT = 1;
    /**
     * 固定价格
     */
    public static int PAYMENT_PRICE = 2;

    public static String LIMT_TYPE_CONVERT_NUM = "nconvert";
    public static String LIMT_TYPE_CLICK_NUM = "nclick";

    private String name;
    /**
     * 预算
     */
    private double budget;
    private List<String> images;
    private String starttime;
    private String endtime;
    private int platform;
    private String mediaid;

    @SerializedName(value = "meida", alternate = {"media"})
    private String meida;
    private int advertiserid;
    private String advertiser;

    private String limitType;


    private int status;
    private String statusName;
    private int chargeType;
    private String desc;
    private List<Comment> customerReviews;
    /**
     * 是否关注
     */
    private int followed;

    /**
     * 点赞
     */
    private int nlike;


    /**
     * 评论
     */

    private int ncomment;

    /**
     * 参与人数
     */
    private int nengage;
    /**
     * 单价
     */
    private double price;

    /**
     * 个人转换
     */
    private int individualLimit;

    /**
     * 总上限
     */
    private int totalLimit;

    private String publishScreenshot;
    private String resultScreenshot1;
    private List<String> resultScreenshot2;
    private int reviewGroupId;

    //显示长链。分享的时候有短链用短链。
    private String shortLink;
    private String link;
    private String linkText;


    private String productid;
    private List<ProductReviewsBean> productReviews;


    public String getChargeCondition() {
        return chargeCondition;
    }

    public void setChargeCondition(String chargeCondition) {
        this.chargeCondition = chargeCondition;
    }

    private String chargeCondition;

//    public ChargeCondition getChargeCondition() {
//        return chargeCondition;
//    }
//
//    public void setChargeCondition(ChargeCondition chargeCondition) {
//        this.chargeCondition = chargeCondition;
//    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getBudget() {
        return budget;
    }

    public void setBudget(double budget) {
        this.budget = budget;
    }

    public List<String> getImages() {
        return images;
    }

    public void setImages(List<String> images) {
        this.images = images;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public int getPlatform() {
        return platform;
    }

    public void setPlatform(int platform) {
        this.platform = platform;
    }

    public String getMediaid() {
        return mediaid;
    }

    public void setMediaid(String mediaid) {
        this.mediaid = mediaid;
    }


    public String getMeida() {
        return meida;
    }

    public void setMeida(String meida) {
        this.meida = meida;
    }

    public int getAdvertiserid() {
        return advertiserid;
    }

    public void setAdvertiserid(int advertiserid) {
        this.advertiserid = advertiserid;
    }

    public String getAdvertiser() {
        return advertiser;
    }

    public void setAdvertiser(String advertiser) {
        this.advertiser = advertiser;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public int getChargeType() {
        return chargeType;
    }

    public void setChargeType(int chargeType) {
        this.chargeType = chargeType;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public List<Comment> getCustomerReviews() {
        return customerReviews;
    }

    public void setCustomerReviews(List<Comment> customerReviews) {
        this.customerReviews = customerReviews;
    }

    public int getFollowed() {
        return followed;
    }

    public void setFollowed(int followed) {
        this.followed = followed;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getLinkText() {
        return linkText;
    }

    public void setLinkText(String linkText) {
        this.linkText = linkText;
    }

    public int getNengage() {
        return nengage;
    }

    public void setNengage(int nengage) {
        this.nengage = nengage;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getPublishScreenshot() {
        return publishScreenshot;
    }

    public void setPublishScreenshot(String publishScreenshot) {
        this.publishScreenshot = publishScreenshot;
    }

    public String getResultScreenshot1() {
        return resultScreenshot1;
    }

    public void setResultScreenshot1(String resultScreenshot1) {
        this.resultScreenshot1 = resultScreenshot1;
    }

    public List<String> getResultScreenshot2() {
        return resultScreenshot2;
    }

    public void setResultScreenshot2(List<String> resultScreenshot2) {
        this.resultScreenshot2 = resultScreenshot2;
    }

    public int getReviewGroupId() {
        return reviewGroupId;
    }

    public void setReviewGroupId(int reviewGroupId) {
        this.reviewGroupId = reviewGroupId;
    }

    public String getShortLink() {
        return shortLink;
    }

    public void setShortLink(String shortLink) {
        this.shortLink = shortLink;
    }


    public int getIndividualLimit() {
        return individualLimit;
    }

    public void setIndividualLimit(int individualLimit) {
        this.individualLimit = individualLimit;
    }

    public int getTotalLimit() {
        return totalLimit;
    }


    public int getNlike() {
        return nlike;
    }

    public void setNlike(int nlike) {
        this.nlike = nlike;
    }

    public int getNcomment() {
        return ncomment;
    }

    public void setNcomment(int ncomment) {
        this.ncomment = ncomment;
    }

    public String getLimitType() {
        return limitType;
    }

    public void setLimitType(String limitType) {
        this.limitType = limitType;
    }

    public void setTotalLimit(int totalLimit) {
        this.totalLimit = totalLimit;
    }

//    public static class ChargeCondition{
//        private int nclick;
//        private int nlike;
//        private int ncomment;
//
//
//
//        public int getNclick() {
//            return nclick;
//        }
//
//        public void setNclick(int nclick) {
//            this.nclick = nclick;
//        }
//
//        public int getNlike() {
//            return nlike;
//        }
//
//        public void setNlike(int nlike) {
//            this.nlike = nlike;
//        }
//
//        public int getNcomment() {
//            return ncomment;
//        }
//
//        public void setNcomment(int ncomment) {
//            this.ncomment = ncomment;
//        }
//    }


    public String getProductid() {
        return productid;
    }

    public void setProductid(String productid) {
        this.productid = productid;
    }

    public List<ProductReviewsBean> getProductReviews() {
        return productReviews;
    }

    public void setProductReviews(List<ProductReviewsBean> productReviews) {
        this.productReviews = productReviews;
    }

    public static class ProductReviewsBean implements Serializable {
        private static final long serialVersionUID = 1L;
        private String user;
        private String content;

        public String getUser() {
            return user;
        }

        public void setUser(String user) {
            this.user = user;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }


}


